package com.mcc.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户和角色关联 sys_user_role
 *
 * @author gxy
 */
@ApiModel("用户和角色关联对象")
@Data
public class SysUserRole implements Serializable {

    @TableId
    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("角色ID")
    private Long roleId;

}
